package AMainFrame;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.graphics.Font;
import org.eclipse.wb.swt.SWTResourceManager;

public class FangAnXuanZe extends Composite {

	/**
	 * Create the composite.
	 * @param parent
	 * @param style
	 */
	public FangAnXuanZe(Composite parent, int style) {
		super(parent, style);
		setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		
		Label lblNewLabel = new Label(this, SWT.NONE);
		lblNewLabel.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblNewLabel.setBounds(89, 23, 168, 27);
		lblNewLabel.setText("配置方案选择：");
		lblNewLabel.setFont(new Font(getDisplay(), "宋体",18,SWT.RIGHT));
		
		Label label = new Label(this, SWT.NONE);
		label.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label.setText("请选择您需要进行的配置方案");
		label.setBounds(89, 56, 227, 22);
		
		Button btnRadioButton = new Button(this, SWT.RADIO);
		btnRadioButton.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent e) {
			}
		});
		btnRadioButton.setBounds(102, 115, 129, 17);
		btnRadioButton.setText("硬件配置(设备分配)");
		btnRadioButton.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		

		
		Button button = new Button(this, SWT.RADIO);
		button.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent e) {
			}
		});
		button.setText("软件配置(任务分配)");
		button.setBounds(237, 115, 130, 17);
		button.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		
		Button button_1 = new Button(this, SWT.RADIO);
		button_1.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent e) {
			}
		});
		button_1.setText("网络配置(网络分配)");
		button_1.setBounds(373, 115, 125, 17);
		button_1.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		
		Button button_2 = new Button(this, SWT.RADIO);
		button_2.setText("设备类型分配");
		button_2.setBounds(102, 156, 97, 17);
		button_2.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		
		Button button_3 = new Button(this, SWT.RADIO);
		button_3.setText("混合设备类型分配");
		button_3.setBounds(237, 156, 117, 17);
		button_3.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		
		Button button_4 = new Button(this, SWT.RADIO);
		button_4.setText("拓扑分配");
		button_4.setBounds(373, 156, 97, 17);
		button_4.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		
		Button btnNewButton = new Button(this, SWT.NONE);
		btnNewButton.setBounds(160, 218, 97, 41);
		btnNewButton.setText("确认");
		
		Button btnNewButton_1 = new Button(this, SWT.NONE);
		btnNewButton_1.setBounds(312, 218, 97, 41);
		btnNewButton_1.setText("取消");

	}

	@Override
	protected void checkSubclass() {
		// Disable the check that prevents subclassing of SWT components
	}
}
